class CreateInvoices < ActiveRecord::Migration
  def self.up
    create_table :invoices do |t|
      t.references  :order
      t.string      :customer
      t.string      :shipping_method
      t.decimal     :shipping_method_cost, :precision => 8, :scale => 2
      t.timestamps
    end
  end

  def self.down
    drop_table :invoices
  end
end
